package com.pid.customerflow.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.pid.customerflow.domain.WorkflowBigcustomer;

/**
 * 大客户流程Mapper接口
 * 
 * @author pid
 * @date 2022-03-01
 */
public interface WorkflowBigcustomerMapper 
{
    /**
     * 查询大客户流程
     * 
     * @param id 大客户流程主键
     * @return 大客户流程
     */
    public WorkflowBigcustomer selectWorkflowBigcustomerById(String id);

    /**
     * 查询大客户流程列表
     * 
     * @param workflowBigcustomer 大客户流程
     * @return 大客户流程集合
     */
    public List<WorkflowBigcustomer> selectWorkflowBigcustomerList(WorkflowBigcustomer workflowBigcustomer);

    /**
     * 新增大客户流程
     * 
     * @param workflowBigcustomer 大客户流程
     * @return 结果
     */
    public int insertWorkflowBigcustomer(WorkflowBigcustomer workflowBigcustomer);

    /**
     * 修改大客户流程
     * 
     * @param workflowBigcustomer 大客户流程
     * @return 结果
     */
    public int updateWorkflowBigcustomer(WorkflowBigcustomer workflowBigcustomer);

    /**
     * 删除大客户流程
     * 
     * @param id 大客户流程主键
     * @return 结果
     */
    public int deleteWorkflowBigcustomerById(String id);

    /**
     * 批量删除大客户流程
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkflowBigcustomerByIds(String[] ids);

    /**
     * 查询请假列表根据部门编号和WorkflowLeave
     *
     * @param workflowBigcustomer 请假
     * @return 请假集合
     */
    public List<WorkflowBigcustomer> selectWorkflowBigcustomerListByWorkflowBigcustomerAndDeptId(@Param("workflowBigcustomer") WorkflowBigcustomer workflowBigcustomer, @Param("deptId") Long deptId);
}
